-
Notifications
You must be signed in to change notification settings - Fork 38.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create v1 HPA types #20501
Create v1 HPA types #20501
Conversation
cc @bgrant0607 @davidopp @deads2k @fgrzadkowski @liggitt @mwielgus @ncdc @nikhiljindal @smarterclayton |
This PR basically implements what @smarterclayton proposed in #18528 (comment) |
@nikhiljindal can you review this one? |
cc/ @madhusudancs |
FYI @madhusudancs this PR creates autoscaling group. |
@@ -0,0 +1,82 @@ | |||
/* | |||
Copyright 2015 The Kubernetes Authors All rights reserved. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need to change to 2016 everywhere?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is checked by verify-boilerplate script. We should update the script i change everywhere I guess.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only change in new files.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
This PR is huge. Re: making a breaking change to v1: yes its fine (thats what we did when we moved from v1beta3 to v1, we first copied types as is and then made changes). We just need to make sure that there is no release in between. |
@nikhiljindal I tried to break the PR down unfortunately I got into some issues and I didn't have enough time to do it. Anyway the PR is split across a bunch of commits so it should be reviewable. |
@piosz What exactly are you going to implement in this - #18528 (comment)? Just want to draw your attention to PR #19802, commit madhusudancs@aebc016 which partly implements what is described in that comment. Specifically it implements what is described here - #18528 (comment) and waiting on autoscaling API group to be created. However, it doesn't implement the comment you linked to fully. We need to collaborate on this to avoid effort duplication. Btw, these PR is blocking a bunch of other PRs that are already LGTM'ed. |
PR changed after LGTM, removing LGTM. |
GCE e2e test build/test passed for commit c02e966. |
@k8s-bot test this [submit-queue is verifying that this PR is safe to merge] |
GCE e2e test build/test passed for commit c02e966. |
Automatic merge from submit-queue |
Auto commit by PR queue bot
Modeled after on first commit (2fbc5bb) of piosz:hpa-ga (kubernetes#20501).
This PR creates a new api group
autoscaling
, moves HPA types there with support forextensions/v1beta1
.This is still in progress (unit&integration tests should be fixed) although I'm sending for early feedback.
In a follow up PR I'll make changes in HPA types described in #18527 (comment) and #18528 (comment). I don't want to complicate this PR even more. Hopefully it's ok to make a breaking changes shortly after introducing this version.